package com.hy.mydesktop.client.component.meta;

import java.util.Date;

/**
 * 
 * <ul>
 * <li>开发作者：汤莉</li>
 * <li>设计日期：2010-8-29；时间：下午03:40:47</li>
 * <li>类型名称：DateFieldModel</li>
 * <li>设计目的：</li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */
public class DateFieldModel {

	/**
	 * 日期格式
	 */
	private boolean formatValue;
	
	/**
	 * 标签
	 */
	private String fieldLabel;
	
	/**
	 * 只读
	 */
	private boolean readOnly;
	
	/**
	 * 最大日期值
	 */
	private Date maxValue;
	
	/**
	 * 最小日期值ֵ
	 */
	private Date minValue;
	/**
	 * 控件名
	 */
	private String name;
	/**
	 * 是否允许为空
	 */
	private boolean allowBlank;
	

	public boolean isAllowBlank() {
    	return allowBlank;
    }

	public void setAllowBlank(boolean allowBlank) {
    	this.allowBlank = allowBlank;
    }

	public boolean isFormatValue() {
		return formatValue;
	}

	public void setFormatValue(boolean formatValue) {
		this.formatValue = formatValue;
	}

	public String getFieldLabel() {
		return fieldLabel;
	}

	public void setFieldLabel(String fieldLabel) {
		this.fieldLabel = fieldLabel;
	}

	public boolean isReadOnly() {
		return readOnly;
	}

	public void setReadOnly(boolean readOnly) {
		this.readOnly = readOnly;
	}

	public Date getMaxValue() {
		return maxValue;
	}

	public void setMaxValue(Date maxValue) {
		this.maxValue = maxValue;
	}

	public Date getMinValue() {
		return minValue;
	}

	public void setMinValue(Date minValue) {
		this.minValue = minValue;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
}
